3.85 \(\int \frac {x}{a x+b x^3+c x^5} \, dx\)

Optimal. Leaf size=150 \[ \frac {\sqrt {2} \sqrt {c} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \sqrt {c} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {b^2-4 a c} \sqrt {\sqrt {b^2-4 a c}+b}} \]

[Out]

arctan(x*2^(1/2)*c^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2))*2^(1/2)*c^(1/2)/(-4*a*c+b^2)^(1/2)/(b-(-4*a*c+b^2)^(1/2
))^(1/2)-arctan(x*2^(1/2)*c^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2))*2^(1/2)*c^(1/2)/(-4*a*c+b^2)^(1/2)/(b+(-4*a*c+
b^2)^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.08, antiderivative size = 150, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {1585, 1093, 205} \[ \frac {\sqrt {2} \sqrt {c} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \sqrt {c} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {b^2-4 a c} \sqrt {\sqrt {b^2-4 a c}+b}} \]

Antiderivative was successfully verified.

[In]

Int[x/(a*x + b*x^3 + c*x^5),x]

[Out]

(Sqrt[2]*Sqrt[c]*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2
 - 4*a*c]]) - (Sqrt[2]*Sqrt[c]*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[b^2 - 4*a*c]*Sqr
t[b + Sqrt[b^2 - 4*a*c]])

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1093

Int[((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(-1), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Dist[c/q, Int[1/(b/
2 - q/2 + c*x^2), x], x] - Dist[c/q, Int[1/(b/2 + q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*
a*c, 0] && PosQ[b^2 - 4*a*c]

Rule 1585

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(n_.), x_Symbol] :> Int[u*x^(m +
 n*p)*(a + b*x^(q - p) + c*x^(r - p))^n, x] /; FreeQ[{a, b, c, m, p, q, r}, x] && IntegerQ[n] && PosQ[q - p] &
& PosQ[r - p]

Rubi steps

\begin {align*} \int \frac {x}{a x+b x^3+c x^5} \, dx &=\int \frac {1}{a+b x^2+c x^4} \, dx\\ &=\frac {c \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{\sqrt {b^2-4 a c}}-\frac {c \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{\sqrt {b^2-4 a c}}\\ &=\frac {\sqrt {2} \sqrt {c} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \sqrt {c} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b+\sqrt {b^2-4 a c}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 129, normalized size = 0.86 \[ \frac {\sqrt {2} \sqrt {c} \left (\frac {\tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {b^2-4 a c}} \]

Antiderivative was successfully verified.

[In]

Integrate[x/(a*x + b*x^3 + c*x^5),x]

[Out]

(Sqrt[2]*Sqrt[c]*(ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]]/Sqrt[b - Sqrt[b^2 - 4*a*c]] - ArcTan
[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]]/Sqrt[b + Sqrt[b^2 - 4*a*c]]))/Sqrt[b^2 - 4*a*c]

________________________________________________________________________________________

fricas [B]  time = 0.77, size = 613, normalized size = 4.09 \[ -\frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x + \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c - \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {-\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) + \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x - \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c - \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {-\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) - \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x + \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c + \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {-\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) + \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x - \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c + \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {-\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x^5+b*x^3+a*x),x, algorithm="fricas")

[Out]

-1/2*sqrt(1/2)*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))*log(2*c*x + sqrt(1/2)*
(b^2 - 4*a*c - (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*
c))/(a*b^2 - 4*a^2*c))) + 1/2*sqrt(1/2)*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c
))*log(2*c*x - sqrt(1/2)*(b^2 - 4*a*c - (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt(-(b + (a*b^2 - 4*a^2
*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))) - 1/2*sqrt(1/2)*sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4
*a^3*c))/(a*b^2 - 4*a^2*c))*log(2*c*x + sqrt(1/2)*(b^2 - 4*a*c + (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*
sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))) + 1/2*sqrt(1/2)*sqrt(-(b - (a*b^2 -
4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))*log(2*c*x - sqrt(1/2)*(b^2 - 4*a*c + (a*b^3 - 4*a^2*b*c)/
sqrt(a^2*b^2 - 4*a^3*c))*sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c)))

________________________________________________________________________________________

giac [B]  time = 1.86, size = 1026, normalized size = 6.84 \[ \frac {{\left (\sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b^{4} - 8 \, \sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} a b^{2} c - 2 \, \sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b^{3} c - 2 \, b^{4} c + 16 \, \sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} a^{2} c^{2} + 8 \, \sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} a b c^{2} + \sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b^{2} c^{2} + 16 \, a b^{2} c^{2} + 2 \, b^{3} c^{2} - 4 \, \sqrt {2} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} a c^{3} - 32 \, a^{2} c^{3} - 8 \, a b c^{3} - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b^{3} + 4 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} a b c + 2 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b^{2} c - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b c^{2} + 2 \, {\left (b^{2} - 4 \, a c\right )} b^{2} c - 8 \, {\left (b^{2} - 4 \, a c\right )} a c^{2} - 2 \, {\left (b^{2} - 4 \, a c\right )} b c^{2}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} x}{\sqrt {\frac {b + \sqrt {b^{2} - 4 \, a c}}{c}}}\right )}{4 \, {\left (a b^{4} - 8 \, a^{2} b^{2} c - 2 \, a b^{3} c + 16 \, a^{3} c^{2} + 8 \, a^{2} b c^{2} + a b^{2} c^{2} - 4 \, a^{2} c^{3}\right )} {\left | c \right |}} + \frac {{\left (\sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b^{4} - 8 \, \sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} a b^{2} c - 2 \, \sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b^{3} c + 2 \, b^{4} c + 16 \, \sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} a^{2} c^{2} + 8 \, \sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} a b c^{2} + \sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b^{2} c^{2} - 16 \, a b^{2} c^{2} - 2 \, b^{3} c^{2} - 4 \, \sqrt {2} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} a c^{3} + 32 \, a^{2} c^{3} + 8 \, a b c^{3} + \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b^{3} - 4 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} a b c - 2 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b^{2} c + \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b c^{2} - 2 \, {\left (b^{2} - 4 \, a c\right )} b^{2} c + 8 \, {\left (b^{2} - 4 \, a c\right )} a c^{2} + 2 \, {\left (b^{2} - 4 \, a c\right )} b c^{2}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} x}{\sqrt {\frac {b - \sqrt {b^{2} - 4 \, a c}}{c}}}\right )}{4 \, {\left (a b^{4} - 8 \, a^{2} b^{2} c - 2 \, a b^{3} c + 16 \, a^{3} c^{2} + 8 \, a^{2} b c^{2} + a b^{2} c^{2} - 4 \, a^{2} c^{3}\right )} {\left | c \right |}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(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 - 4*a*c)*c)*b^3*c + 2*b^4*c + 16*sqrt(2)*sqrt(b*c - sqrt(b^2
 - 4*a*c)*c)*a^2*c^2 + 8*sqrt(2)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b*c^2 + sqrt(2)*sqrt(b*c - sqrt(b^2 - 4*a*c
)*c)*b^2*c^2 - 16*a*b^2*c^2 - 2*b^3*c^2 - 4*sqrt(2)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*c^3 + 32*a^2*c^3 + 8*a*b
*c^3 + sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b^3 - 4*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c -
sqrt(b^2 - 4*a*c)*c)*a*b*c - 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b^2*c + sqrt(2)*sqrt(
b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b*c^2 - 2*(b^2 - 4*a*c)*b^2*c + 8*(b^2 - 4*a*c)*a*c^2 + 2*(b^2 -
4*a*c)*b*c^2)*arctan(2*sqrt(1/2)*x/sqrt((b - sqrt(b^2 - 4*a*c))/c))/((a*b^4 - 8*a^2*b^2*c - 2*a*b^3*c + 16*a^3
*c^2 + 8*a^2*b*c^2 + a*b^2*c^2 - 4*a^2*c^3)*abs(c))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 116, normalized size = 0.77 \[ -\frac {\sqrt {2}\, c \arctanh \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{\sqrt {-4 a c +b^{2}}\, \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}-\frac {\sqrt {2}\, c \arctan \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{\sqrt {-4 a c +b^{2}}\, \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(c*x^5+b*x^3+a*x),x)

[Out]

-c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1
/2)*c*x)-c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*
c)^(1/2)*c*x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{c x^{5} + b x^{3} + a x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x^5+b*x^3+a*x),x, algorithm="maxima")

[Out]

integrate(x/(c*x^5 + b*x^3 + a*x), x)

________________________________________________________________________________________

mupad [B]  time = 2.48, size = 763, normalized size = 5.09 \[ -\mathrm {atan}\left (\frac {b^4\,x\,1{}\mathrm {i}+b\,x\,\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}\,1{}\mathrm {i}+a^2\,c^2\,x\,16{}\mathrm {i}-a\,b^2\,c\,x\,8{}\mathrm {i}}{4\,a\,b^4\,\sqrt {-\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}+64\,a^3\,c^2\,\sqrt {-\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}-32\,a^2\,b^2\,c\,\sqrt {-\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}}\right )\,\sqrt {-\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}\,2{}\mathrm {i}-\mathrm {atan}\left (\frac {b^4\,x\,1{}\mathrm {i}-b\,x\,\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}\,1{}\mathrm {i}+a^2\,c^2\,x\,16{}\mathrm {i}-a\,b^2\,c\,x\,8{}\mathrm {i}}{4\,a\,b^4\,\sqrt {\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}+64\,a^3\,c^2\,\sqrt {\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}-32\,a^2\,b^2\,c\,\sqrt {\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}}\right )\,\sqrt {\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}\,2{}\mathrm {i} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a*x + b*x^3 + c*x^5),x)

[Out]

- atan((b^4*x*1i + b*x*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*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*c^2 - 12*a*b^4*c)^(1/2) -
b^3 + 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2)*2i

________________________________________________________________________________________

sympy [A]  time = 1.19, size = 87, normalized size = 0.58 \[ \operatorname {RootSum} {\left (t^{4} \left (256 a^{3} c^{2} - 128 a^{2} b^{2} c + 16 a b^{4}\right ) + t^{2} \left (- 16 a b c + 4 b^{3}\right ) + c, \left (t \mapsto t \log {\left (x + \frac {32 t^{3} a^{2} b c - 8 t^{3} a b^{3} + 4 t a c - 2 t b^{2}}{c} \right )} \right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(c*x**5+b*x**3+a*x),x)

[Out]

RootSum(_t**4*(256*a**3*c**2 - 128*a**2*b**2*c + 16*a*b**4) + _t**2*(-16*a*b*c + 4*b**3) + c, Lambda(_t, _t*lo
g(x + (32*_t**3*a**2*b*c - 8*_t**3*a*b**3 + 4*_t*a*c - 2*_t*b**2)/c)))

________________________________________________________________________________________